package main.java.chessfootball.model.game;

/**
 * User: Igor
 * Date: 10.06.2011
 * Time: 22:36:55
 */
public enum Half
{
	LEFT(0),
	RIGHT(1);

	private static Half[] inverts = {Half.RIGHT, Half.LEFT};

	private int id;

	Half(int id)
	{
		this.id = id;
	}

	public int getId()
	{
		return id;
	}

	public Half getInvert()
	{
		return inverts[id];
	}
}
